<?php
class Field extends AppModel{
	public $name='Field';
	 
	public $validate = array(		
		'name' => array(array('rule'=>'notEmpty','message'=>'Can not be empty!'),
			array('rule'=>array('unique','name'),'message'=>'data is already existed'))
		);
}
?>
